package com.iflytek.model;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 商品分类
 * @author h_t
 * @since 2023-09-23
 */

@Data
@TableName("t_category")
@ApiModel(value="Category对象")
public class Category implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "序号,新增不传",example="1")
    private Long id;

    @TableField(value = "name")
    @ApiModelProperty(value = "分类名称")
    private String name;

    @TableField(value = "no")
    @ApiModelProperty(value = "分类编号")
    private String no;

}
